package www.sofn.com.goods;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import www.sofn.com.goods.domain.query.GoodsQueryVO;
import www.sofn.com.goods.domain.po.GoodsPO;
import www.sofn.com.goods.domain.vo.GoodsListVO;

@Mapper
public interface GoodsMapper extends BaseMapper<GoodsPO> {
    Page<GoodsListVO> listPage(@Param("page") Page page, @Param("query") GoodsQueryVO query);
}
